//
//  SiFoodCell.swift
//  SiliUtility
//
//  Created by Li Dong on 2023/10/19.
//

import UIKit

class SiFoodCell: UICollectionViewCell {
    
    var deleteCallBack:((String) -> Void)?

    @IBOutlet weak var namLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    @IBAction func deleteHandler(_ sender: Any) {
        deleteCallBack?(namLabel.text ?? "")
    }
    
    
}
